package com.tuanzi.loan.business.repository.extratemplate;

import com.tuanzi.loan.business.entity.extratemplate.ExtraTemplateSpecial;
import com.tuanzi.loan.business.repository.extratemplate.custom.ExtraTemplateSpecialRepositoryCustom;
import com.tuanzi.loan.core.repository.JPAAuditRepository;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-10-16 14:33
 */
public interface ExtraTemplateSpecialRepository extends ExtraTemplateSpecialRepositoryCustom,JPAAuditRepository<ExtraTemplateSpecial,Long>{
    List<ExtraTemplateSpecial> findAllByTemplateId(Integer templateId);

    void deleteAllByTemplateId(Long templateId);

    void deleteAllByTemplateId(Integer templateId);
}
